﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace hkshort
{
    class Notice
    {
        private string date = "";

        public string Date
        {
            get { return date; }
            set { date = value; }
        }

        private int no = 0;

        public int No
        {
            get { return no; }
            set { no = value; }
        }

        private string ticker = "";

        public string Ticker
        {
            get { return ticker; }
            set { ticker = value; }
        }

        private string name = "";

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public bool ParseFromLine(string line, string domain)
        {
            return true;
        }


        public void print()
        {
            Console.WriteLine(string.Format("{0}, {1}, {2}, {3})",
                this.Date, this.No, this.Ticker, this.Name));
        }
    }
}

